package com.itwill.ecom.board;

import java.sql.Date;

import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonRootName;

@JsonRootName("boardbeans")
public class BoardBeans {
	@JsonProperty("board_no")
	private int board_no;
	@JsonProperty("board_type")
	private int board_type;
	@JsonProperty("board_title")
	private String board_title;
	@JsonProperty("board_date")
	private Date board_date;
	@JsonProperty("board_id")
	private String board_id;
	@JsonProperty("board_content")
	private String board_content;
	@JsonProperty("board_image")
	private String board_image;
	@JsonProperty("board_show")
	private int board_show;
	@JsonProperty("board_recommend")
	private int board_recommend;
	@JsonProperty("board_nickname")
	private String board_nickname;
	
	
	public BoardBeans(){
		
	}
	
	public BoardBeans(int board_no, int board_type, String board_title,
			Date board_date, String board_id, String board_content,
			String board_image, int board_show, int board_recommend,
			String board_nickname) {
		this.board_no = board_no;
		this.board_type = board_type;
		this.board_title = board_title;
		this.board_date = board_date;
		this.board_id = board_id;
		this.board_content = board_content;
		this.board_image = board_image;
		this.board_show = board_show;
		this.board_recommend = board_recommend;
		this.board_nickname = board_nickname;
	}

	public int getBoard_no() {
		return board_no;
	}

	public void setBoard_no(int board_no) {
		this.board_no = board_no;
	}

	public int getBoard_type() {
		return board_type;
	}

	public void setBoard_type(int board_type) {
		this.board_type = board_type;
	}

	public String getBoard_title() {
		return board_title;
	}

	public void setBoard_title(String board_title) {
		this.board_title = board_title;
	}

	public Date getBoard_date() {
		return board_date;
	}

	public void setBoard_date(Date board_date) {
		this.board_date = board_date;
	}

	public String getBoard_id() {
		return board_id;
	}

	public void setBoard_id(String board_id) {
		this.board_id = board_id;
	}

	public String getBoard_content() {
		return board_content;
	}

	public void setBoard_content(String board_content) {
		this.board_content = board_content;
	}

	public String getBoard_image() {
		return board_image;
	}

	public void setBoard_image(String board_image) {
		this.board_image = board_image;
	}

	public int getBoard_show() {
		return board_show;
	}

	public void setBoard_show(int board_show) {
		this.board_show = board_show;
	}

	public int getBoard_recommend() {
		return board_recommend;
	}

	public void setBoard_recommend(int board_recommend) {
		this.board_recommend = board_recommend;
	}
	
	public String getBoard_nickname(){
		return board_nickname;
	}
	
	public void setBoard_nickname(String board_nickname){
		this.board_nickname = board_nickname;
	}
}